package dao;

import org.apache.ibatis.annotations.Param;
import pojo.Student;
import java.util.List;

public interface StudentDao {
    List<Student> findAll(@Param("studentNum")String studentNum, @Param("studentName")String studentName, @Param("offset")int offset, @Param("pageSize")int pageSize);
    int addStudent(Student student);

    Student findById(Integer sId);

    int updateStudent(Student student);

    int deleteStudentById(Integer sId);

    int count(Student student);



}
